<link rel="stylesheet" type="text/css" href="../css/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="../css/themes/icon.css">

<div id="panel-supply-badinfo" data-options="border:false;width:100%">
  	<div class="well well-small" style="margin-left: 5px;margin-top: 5px">		
		<p>
			<span class="badge">提示</span>
			点击工具栏 <strong><color="red">查询条件</color></strong> 可根据需要设置数据查询及过滤条件,条件设置完成后点击工具栏 <Strong>执行查询</strong> 按钮，可查看查询结果
		</p>
	</div>
	<div class="condition easyui-panel" data-options="closed:true,openAnimation:'slide',closeAnimation:'slide'">
		<form class="condition-form">
			<fieldset>
			<table> 	
				<tr>
					<th>供应商名称</th>
					<td><input name="supply_name" id="supply_name" type="text"  class="easyui-textbox easyui-validatebox" style="width:150px"/></td>
					<th>记录期限</th>
					<td><input name="record_time" id="record_time" type="text"  class="easyui-datebox easyui-validatebox" style="width:150px"/></td>
				</tr>				
			</table>
			</fieldset>
		</form>
	</div>
	<div class="search-mm">			
			<div name="supply_name">供应商名称</div>
			<div name="record_time">记录期限</div>		
	</div>
    <div class="tb-list" style="padding:2px 0">
		<table cellpadding="0" cellspacing="0"> 
			<tr>
				<td style="padding-left:2px" class="list-btn">
				</td>
				<td style="padding-left:2px">
					<input class="searchbox" type="text"/>
					<a href="javascript:void(0);" class="easyui-linkbutton conditon-search function-btn"  plain="true" >查询条件</a>
					<a href="javascript:void(0);" class="easyui-linkbutton conditon-search function-btn" iconCls="icon-search" plain="true" >执行查询</a>
				</td>
			</tr>
		</table>
	</div>
	
	<!-- 数据列表 section ,table class 必须包含 dg-list，否则无法正常生成列表组件及业务数据 -->
	<table class="easyui-datagrid dg-list" 
		data-options="rownumbers:true,
		animate: true,
		collapsible: true,					
		striped:true,
		border:true,
		//singleSelect:false,
		idField: 'id',						
		fitColumns: true,
		checkOnSelect:true,
		pagination:true,		
		selectOnCheck:true">		
		<thead>			
			<tr>
				<th field="ck" checkbox="true" ></td>
				<th field="supply_name" width="60" align="center">供应商名称</td>
				<th field="record_time" width="60" align="center">记录期限</td>
				<th field="record_text" width="100" align="center">不良记录实情</td>					
			</tr>
		</thead>	
	</table>
	  
	<div id='supply-badinfo-win' class="easyui-window" data-options="closed:true" title='供应商不良记录添加'>  		
	</div>
</div> 

 
<script>
requirejs(['listPageModule','supplyBadinfo','domReady!'],function(flowedit,supplyBadinfo,doc){
	flowedit.init({
		doc:doc,								//当前页面dom对象,由 domReady! 插件自动返回
		rootId:'panel-supply-badinfo',			//当前页面根节点dom对象id值,与html中根节点值必须对应，否则页面无法正确定位
		subSystemCode:'supply',					//子系统名称
		moduleCode:'supplyBadinfo',				//业务模块名称
		editWindow:'supply-badinfo-win',		//弹出窗口名称，必须与html中定义对象一致
		initElement:supplyBadinfo.initList,		//初始化列表页面的扩展函数，用于增加业务所必须的特殊字段或布局处理
		rowDblClick:supplyBadinfo.rowDblClick});//列表数据双击事件监听函数		
});	
</script>

